import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'
import getters from './getters'

Vue.use(Vuex)

const state = {
  /*定义状态*/
  isUpLoadShow: false,
  cartList: [],
}

const store = new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    /*store分模块*/
  }
})

export default store
